package de.htw.praxisprojekt.data;

import java.io.File;

import javax.swing.filechooser.FileFilter;

public class LineFileFilter extends FileFilter{
	public static final String LGF_EXTENSION=".lgf";

	@Override
	public String getDescription(){
		return "X;Y File";
	}

	@Override
	public boolean accept(File f){
		return f.isDirectory()||f.getName().toLowerCase().endsWith(LGF_EXTENSION);
	}
}